class Arrow extends egret.Shape {

    public constructor() {
        super()
        this.init()
    }

    public init() {
        this.graphics.lineStyle(1, 0, 1)
        this.graphics.beginFill(0xFFFF00)
        this.graphics.moveTo(-50, -25)
        this.graphics.lineTo(0, -25)
        this.graphics.lineTo(0, -50)
        this.graphics.lineTo(50, 0)
        this.graphics.lineTo(0, 50)
        this.graphics.lineTo(0, 25)
        this.graphics.lineTo(-50, 25)
        this.graphics.lineTo(-50, -25)
        this.graphics.endFill()
    }
}